package com.myspring.service;

import com.myspring.dao.UserDao;
import com.myspring.dao.UserDaoImpl;

public class UserServiceImpl implements UserService {
    //private UserDao userDao = new UserDaoImpl();
    private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
    public void getUser() {
        userDao.getUser();
    }
}
